package com.yxr.mobileplayer.page;

import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;

import com.yxr.mobileplayer.base.BasePage;

public class NetAudioPage extends BasePage {

    protected TextView textView;

    public NetAudioPage(Activity activity) {
        super(activity);
    }


    @Override
    protected View onCreateSelfView() {
        textView = new TextView(super.activity);
        textView.setTextSize(25);
        textView.setGravity(Gravity.CENTER);
        textView.setTextColor(Color.BLUE);
        onCreateViewDate();
        return textView;
    }

    @Override
    protected void onCreateViewDate() {
        textView.setText("I am net audio");
    }

}
